package com.bj58.groupbuy.action.service.impl;

import java.util.List;

import com.bj58.groupbuy.action.model.IRDbConfig;
import com.bj58.groupbuy.action.service.IRDbConfigService;
import com.bj58.groupbuy.service.impl.BaseService;

public class IRDbConfigServiceImpl   extends BaseService<IRDbConfig> implements IRDbConfigService {

	@Override
	public List<IRDbConfig> getAllDb() throws Exception {
		List<IRDbConfig> rsList = getGenericDao().find(IRDbConfig.class, "*", "state=1", " cname desc");
		if( null != rsList  && !rsList.isEmpty())
			return rsList;
		
		return null;
	}

}
